package com.xhtt.modules.task.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhtt.modules.task.entity.TaskPotPlan;
import com.xhtt.modules.task.entity.TaskPotSeo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 罐计划 Mapper 接口
 * </p>
 *
 * @author feipc
 * @since 2019-03-05
 */
public interface TaskPotPlanMapper extends BaseMapper<TaskPotPlan> {

    List<TaskPotPlan> planList(Page<TaskPotPlan> page, @Param(value = "ps") Map<String, Object> params);

    List<TaskPotSeo> seoList(Page<TaskPotSeo> page, @Param(value = "ps") Map<String,Object> params);

    TaskPotSeo dataToSeo(@Param(value = "potPlanId") Integer potPlanId);
}
